﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    ClientIDMode="Static" CodeBehind="NewMirthBackup.aspx.cs" Inherits="BackupMirthToTFS.NewMirthBackup" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        textarea
        {
            width: 500px;
            height: 75px;
        }
        
        input[type=text]
        {
            width: 300px;
        }
    </style>
    
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2 runat="server" id="appNameHeader" />
    <table>
        <tr>
            <td valign="top">                
                <input type="hidden" id="MirthBackupID" runat="server" value="0" />
                
                <ul style="list-style-type:none;">

                    <li>Name:
                        <asp:TextBox runat="server" ID="txtName" />
                    </li>
                    <li>Mirth Host:
                        <asp:TextBox runat="server" ID="txtHost" />
                    </li>
                    <li>User Name:
                        <asp:TextBox runat="server" ID="txtUserName" />
                    </li>
                    <li>Password:
                        <asp:TextBox runat="server" ID="txtPwd" />
                    </li>
                    <li>TFS File:
                        <asp:TextBox runat="server" ID="txtTfsFile" />
                    </li>
                    <li>
                        <asp:CheckBox runat="server" ID="chkIsActive" Text="Is Active" TextAlign="Right" />
                    </li>
                    
                      <li>Last Successful Backup:
                        <asp:Label ViewStateMode="Disabled" runat="server" ID="lblLastRun" />
                    </li>
                    <li>
                        <asp:Label ViewStateMode="Disabled" runat="server" ID="lblCreated" />
                    </li>
                </ul>
                <asp:Button Text="Create This New Mirth Backup" runat="server" ID="btnSave" 
                    OnClick="UpdateMirthBackup" />
                <br /><br />
                  <asp:Label    runat="server" ID="lblMsg" />
            </td>
        </tr>
    </table>
</asp:Content>
